<?php
class Ecore_Rewrite_Product {	
	public function slug($intId, $strName) {
		$strName 	= str_replace('/', ' ', Ecore_Function::UTF8Deaccent($strName));
        $strPrefix	= 'san-pham';
		return $strPrefix . '/'.Ecore_Function::convertNoVn($strName) . '-' . Ecore_Function::dec2Hex($intId) . '.html';
	}
}
